package com.socialuni.common.user.model.DO.base;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
@Data
public class CommonUserBaseDO extends CommonBaseDO {
    @Column(nullable = false)
    private String nickname;
    @Column(nullable = false)
    private String avatar;
    @Column(nullable = false)
    private Integer gender;
    @Column(nullable = false)
    private String birthday;
    @Column(nullable = false)
    private Integer age;
    @Column(nullable = false)
    private String city;
}